﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Mvc;
using System.Web.Mvc.Html;

namespace cludg.Web.Core.Views.Extensions
{
	public class ViewExtension : IViewExtension
	{
		public string Place { get; set; }

		public int Index { get; set; }

		public string ViewName { get; set; }

		public virtual void Render(HtmlHelper html, object model)
		{
			html.RenderPartial(ViewName, model);
		}
	}
}
